/*
 * File:         Config.java
 * Author:       Robert Bittle <guywithnose@gmail.com>
 */
package foxtrotbravo;

/**
 * The Class Config.
 */
public class Config
{
  
  /** The testing. */
  public static boolean testing = false;

  /** The Constant AppId. */
  public static final long AppId = 397916723571557L;
  
  /** The Constant PageId. */
  public static final long PageId = 259455720812683L;
  
  /** The Constant AppSecret. */
  public static final String AppSecret = Resources.getString("Config.SECRET");
  
  /**
     * Checks if is dev.
     * 
     * @return true, if is dev
     */
  public static boolean isDev()
  {
    return "Development".equals(System.getProperty("com.google.appengine.runtime.environment")) || testing;
  }
  
  /**
     * Sets the testing.
     */
  public static void setTesting()
  {
    testing = true;
  }
  
}
